package com.atguigu.gulimall.auto;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
import org.springframework.session.data.redis.config.annotation.web.server.EnableRedisWebSession;

@EnableRedisHttpSession//开启redis存储session功能
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients
public class GulimallAutoServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(GulimallAutoServerApplication.class, args);
    }

}
